<template>
    <CommonContainer title="买受人信息">
        <el-descriptions v-if="vendeeInfo.customerTypeCode==1">
            <el-descriptions-item label="买受人">{{vendeeInfo.vendeeName||'--'}}</el-descriptions-item>
            <el-descriptions-item label="类型">
                <dict-tag
                    :options="dict.type.customer_type"
                    :value="vendeeInfo.customerTypeCode"/>
            </el-descriptions-item>
            <el-descriptions-item label="身份证号码/护照号码">{{vendeeInfo.idCard||'--'}}</el-descriptions-item>
            <el-descriptions-item label="通讯地址">{{vendeeInfo.vendeeAddress|filterNull}}</el-descriptions-item>
            <el-descriptions-item label="联系电话">{{vendeeInfo.vendeePhone||'--'}}</el-descriptions-item>
            <el-descriptions-item label="附件">
                <image-common v-model="vendeeInfo.annexOss" disabled :up-type="2"></image-common>
            </el-descriptions-item>
        </el-descriptions>
        <el-descriptions v-else-if="vendeeInfo.customerTypeCode==2">
            <el-descriptions-item label="买受人">{{vendeeInfo.vendeeName||'--'}}</el-descriptions-item>
            <el-descriptions-item label="类型">
                <dict-tag
                    :options="dict.type.customer_type"
                    :value="vendeeInfo.customerTypeCode"/>
            </el-descriptions-item>
            <el-descriptions-item label="统一社会信用代码">{{vendeeInfo.vendeeCode||'--'}}</el-descriptions-item>
            <el-descriptions-item label="法定代表人/负责人">{{vendeeInfo.vendeeResponsibleName||'--'}}</el-descriptions-item>
            <el-descriptions-item label="通讯地址">{{vendeeInfo.vendeeAddress|filterNull}}</el-descriptions-item>
            <el-descriptions-item label="联系人">{{vendeeInfo.vendeePerson|filterNull}}</el-descriptions-item>
            <el-descriptions-item label="联系电话">{{vendeeInfo.vendeePhone||'--'}}</el-descriptions-item>
            <el-descriptions-item label="电子邮箱">{{vendeeInfo.vendeeMail||'--'}}</el-descriptions-item>
            <el-descriptions-item label="传真">{{vendeeInfo.vendeeFax||'--'}}</el-descriptions-item>
            <el-descriptions-item label="附件">
                <image-common v-model="vendeeInfo.annexOss" disabled :up-type="2"></image-common>
            </el-descriptions-item>
        </el-descriptions>
    </CommonContainer>
</template>

<script>
export default {
    components: {},
    dicts:['customer_type'],
    props: {
        vendeeInfo:{
            type:Object,
            default:{}
        }
    },
    data() {
        return {}
    },
    computed: {},
    methods: {},
    mounted() {
    },

}
</script>

<style lang="scss" scoped>
</style>
